# -*- coding:utf-8 -*-
# created by jinss

import requests

url = 'https://movie.douban.com/j/chart/top_list'

param = {
    "type_name": "动作",
    "type": "5",
    "interval_id": "100:90",
    "action":"",
    "start": 1,
    "limit": 5
}
h = {
    "User-Agent": "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/95.0.4638.54 Safari/537.36"
}
resp = requests.get(url, params=param, headers = h)
print(resp.json())
# 关掉resp
resp.close()